package org.springblade.modules.repair.service.impl;

import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.repair.entity.MaintainTemplateContent;
import org.springblade.modules.repair.mapper.MaintainTemplateContentMapper;
import org.springblade.modules.repair.service.MaintainTemplateContentService;

@Service
public class MaintainTemplateContentServiceImpl extends BaseServiceImpl<MaintainTemplateContentMapper, MaintainTemplateContent> implements MaintainTemplateContentService {

	@Override
	public List<HashMap<String, Object>> listTemplateContents(List<Long> templateIds, Long locationTypeId) {
		return baseMapper.listTemplateContents(templateIds,locationTypeId);
	}

	@Override
	public List<MaintainTemplateContent> listByTemplate(Long templateId, Long locationTypeId) {
		return baseMapper.listByTemplate(templateId,locationTypeId);
	}
}



